package com.hamster.crm.service;

import com.hamster.crm.pojo.dto.PermissionGroupDTO;

import java.util.List;

/**
 * @author Tarry
 * @create 2020/1/8 11:58
 */
public interface PermissionService {
    List<PermissionGroupDTO> listPermissions();

    void savePermission(String roleId,List<String> ids);

    List<String> getPermissionByRoleId(String roleId);
}
